home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1117 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  767 b 

  1. Path: news.erg.cuhk.hk!ywleung
  2. From: ywleung@cs.cuhk.hk (Marty McFly)
  3. Newsgroups: comp.lang.c++
  4. Subject: Need suggestion!
  5. Date: 9 Jan 1996 12:43:55 GMT
  6. Organization: Engineering Faculty CUHK
  7. Message-ID: <4ctnuc$9at@eng_ser1.erg.cuhk.hk>
  8. NNTP-Posting-Host: sun14.cs.cuhk.hk
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Dear All,
  12.  
  13.     I am writing the user-interface of a program.  The program will
  14. prompt some message dialogs.  The user can click the button inside the
  15. dialog and then it will disappear.  My question is:  Is it a good way to
  16. create the dialog each time and "delete" it when the button is clicked?
  17. ("delete" means freeing the memory)  In fact, the message prompting process
  18. is very frequent.  Will it cause the program to become unstable?
  19.  
  20. Regards,
  21. Marty McFly.
  22.  
  23.